// ���ֽ��ַ�����UTF8����֮����໥ת��
#pragma  once
#include <sys/types.h>

bool WideCharToUtf8(char* pszUtf8Buffer, int nUtf8BufferSize, const wchar_t szWString[]);
bool Utf8ToWideChar(wchar_t* pszWCharBuffer, int nMaxWCharCount, const char szUtf8String[]);

bool GBKToUtf8(char* utf8, size_t utf8Size, const char* gbk, size_t gbkLength);
bool Utf8ToGBK(char* gbk, size_t gbkSize, const char* utf8, size_t utf8Lenght);

